package com.sky.mapper;

import com.sky.dto.DishDTO;
import com.sky.po.DishPO;
import com.sky.vo.DishVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Content:
 * @Author: Asen
 * @Date: 2023/9/1 14:22
 */
@Mapper
public interface DishMapper {
    DishMapper INSTANCE = Mappers.getMapper(DishMapper.class);

    DishDTO POConvertDTO(DishPO source);

    DishPO DTOConvertPO(DishDTO source);

    DishVO POConvertVO(DishPO source);
}
